package com.mimiwang.common.constant;

/**
 * @AUTHOR:游李滨
 * @DATE:2023/5/10 22:47
 */
public enum  HttpStatus {

    UNAUTHORIZED(401,"未授权"),
    MAXLIMIT(403,"限制最大访问次数");
    private String msg;
    private int code;

    private HttpStatus(int code, String msg) {
        this.code=code;
        this.msg=msg;
    }
    public int getCode(){
        return this.code;
    }
    public String getMsg(){
        return this.msg;
    }
}
